#ifndef TREEVIEWDELEGATE_H
#define TREEVIEWDELEGATE_H

#include <QStyledItemDelegate>
#include <QPainter>
#include <QModelIndex>

class TreeViewDelegate : public QStyledItemDelegate
{
    Q_OBJECT
public:
    explicit TreeViewDelegate(QObject *parent = 0);
    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;

};

#endif // TREEVIEWDELEGATE_H
